#ifndef  __test_ActionListController_H
#define  __test_ActionListController_H

#include <QString>
#include <QtTest>

class MediaListModel;
class ActionListController;

class test_ActionListController : public QObject
{
   Q_OBJECT

public:
   test_ActionListController();

public slots:
   void init();
   void cleanup();

private:
   MediaListModel *m_model;
   ActionListController *m_actionController;

private Q_SLOTS:
   void initTestCase();
   void cleanupTestCase();
   void testInstantiation();
   void testActivateItem();
   void testActivateInvalid();
   void testShiftItemUp();
   void testShiftFirstItemUp();
   void testShiftInvalidItemUp();
   void testShiftItemDown();
   void testShiftLastItemDown();
   void testShiftInvalidItemDown();
   void testShiftActiveItemUp();
   void testShiftUpAndChangeActive();
   void testShiftActiveItemDown();
   void testShiftDownAndChangeActive();
   void testRemoveRowChangesActiveItem();
   void testRemoveActiveItem();
   void testRemoveWithNoneActive();
};

#endif  // __test_ActionListController_H

